package com.wzy.new_energy_car_platform.service;

import com.wzy.new_energy_car_platform.common.ResultDto;
import com.wzy.new_energy_car_platform.model.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzy
 * @since 2024-02-06
 */
public interface SysUserService extends IService<SysUser> {

    ResultDto<?> getUser(String token);


    /**
     * 用户登录
      * @param sysUser
     * @return
     */
    ResultDto<?> login(SysUser sysUser);

    ResultDto<?> setUser(SysUser sysUser);

    ResultDto<?> uploadHeader(Map<String, Object> map);

    ResultDto<?> register(SysUser sysUser);
}
